package com.lecampus.businessSecond_hand_transactions.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "product_id", type = IdType.ID_WORKER_STR)
    private String productId;

    private String productName;

    private BigDecimal productPrice;

    private String sellerPhone;

    private String productDescrible;

    private Long commentSum;

    private Integer deleted;

    private Date createTime;

    private Date updateTime;

    private String categoryId;

    private String userId;


}
